[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Question on Winbind



Hi, I have been pulling out hair on this one.

I am trying to get a debian box to share files to an NT 4 network. I installed Samba, works great. I also installed Winbind and that also works, but I have a problem when trying to set file permissions.

When I do a - getent group or a - getent passwd the mappings show from the NT PDC but the uid and gid are identical on some users. Like say User1 has a uid of 10004, but looking at getent group shows that 10004 is the GID for Domain Users on the NT box. So, basically the UID and GID are the same for some users and groups. This is causing a serious problem when trying to set permissions on certain folders for users.

All the instructions I have see say to set the lines -- winbind uid = 10000-20000 and winbind gid = 10000-20000 in the smb.conf.

So I figured Linux would give the id numbers a first come first basis, but it abviously dosent.

I have completely uninstalled, purged and reinstalled both Samba and Winbind, and still the same mappings. I have also changed the smb.conf file to give completely different mappings of --winbind uid = 15000-20000 - winbind gid = 20001-25000 , but when I do a getent group or getent passwd it still shows mappings starting at 10000. I have restarted all the related services and rebooted the machine, still no luck. It is authenticating properly to the domain when browsing, but I really need to get proper permissions set. I searched the web for 2 hours and didn't find a bit of info on this problem. I'm stuck.

It's as if there is a database file somewhere in the system that has kept this information from my orgional install and won't give it up.

Thanks for any help

-Debuser.




Reply to: