Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] SID UID mappings

 
   Soft32 Home -> Linux -> Samba RSS
Next:  [Samba] Winbind PAM authentication  
Author Message
Edvard Fagerholm

External


Since: Jan 13, 2004
Posts: 3



(Msg. 1) Posted: Tue Jan 13, 2004 11:20 am
Post subject: [Samba] SID UID mappings
Archived from groups: linux>samba (more info?)

Hello!

I've been running a custom hacked samba 3.0rc1 to get winbindd to bind every SID
simply to what getpwent returns as the UID.

The newest versions of samba seem to support the possibility to have
winbindd to use /etc/passwd and /etc/group as the storage backend.

So basically what I need is that each time samba wants to know the SID of the
username "joe" it would just query the SID of "DOMAIN\joe" from the AD server.
Similarly each time samba wants to know the UID for "DOMAIN\joe" it would
simply call getpwent for "joe" to get the UID. My patch does this, but I don't
have anything caching the results so samba does loads of queries to the AD
server.

The thing is that I don't want winbindd to touch the local password database, I
just want it to search there. If it doesn't find a UID for a specific windows
user, it should simply return an error, not add a new user. The thing is that
the userdatabase isn't local, it uses an LDAP backend via nsswitch, so winbindd
would only cause lots of trouble if it would try to tamper the local files.

Can samba do this now? What is interesting here is that this is logically much
much more simpler than having conversion algorithms and using tables and stuff
like that. The reason why everything works this way is that we have both unix
and windows servers and desktops and each share the same users. The users are
really stored on a windows server, but we use nssldap and ad4unix to manually
give an UID to users that require unix access.

The point is that I don't need winbindd to do anything, but it seems like I
have to run it to get AD to work.

Regards,
Edvard Fagerholm
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] User Data / Profiles / Permission / Mappings Loss .. - We have completed a migration from one Samba server to another Samba. The versions and binaries are exactly the same...

[Samba] Samba 3.0.1pre3/ldap - Strange gid mappings server.. - Good day, I'm running some tests with Samba 3.0.1pre3 with an LDAP sam. LDAP has been, to the best of my abilities,..

[Samba] problems with group mappings with ldap - the weirdness continues net groupmap modify ntgroup="Domain Admins" unixgroup="ntadmin" NT Group ...

[Samba] group mappings pitfalls in samba 3 - I have recently run across this problem and would like to warn people about it. I had an already established domain..

[Samba] "home folder" v.s. regular drive mappings - Hey, has anyone on the list experienced the following behavior ? When \\server\userhome <\\server\userhome> is....

[Samba] Regarding: de.samba.org/samba/whatsnew/samba-2.2.4.. - Hello, This e-mail has been sent to inform you that your web site URL has been submitted to our search engine..
       Soft32 Home -> Linux -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]