Book now with code EOY2025
tiersten wrote: » Will they allow you to join your Samba server to the domain?
[libdefaults] default_realm = YOUR.DOMAIN [realms] YOUR.DOMAIN = { kdc = dc.your.domain default_domain = YOUR.DOMAIN }
[global] security = ads netbios name = ServerName realm = YOUR.DOMAIN password server = dc.your.domain workgroup = YOURDOMAIN idmap uid = 1000-29999 idmap gid = 1000-29999 winbind enum users = yes winbind enum groups = yes winbind use default domain = yes client use spnego = yes domain master = no
undomiel wrote: » Yes, that's how nsswitch.conf is supposed to look. No idea on the editing from the GUI. I've always written my configs from the CLI. The first thing to try is restarting your services. Shutdown your winbind service and your samba service. Then specifically bring up winbind and then samba. I found it to be very touchy about these things so that is always worth a shot first. If that fails then run wbinfo -D domain. Once that finishes then check and see if wbinfo -g and -u works. Still no go? Then try explicity putting in the name of your DC in your /etc/hosts file by both host name and fqdn. Restart and then test things again. As I mentioned joining a Samba machine to the domain is a touchy beast.
aueddonline wrote: » I have pretty much exactly the config you gave above, getting this message when using net join, after using kinit sucessfully. [root@MACHINE ~]# net ads join -U ***** [2009/03/06 15:00:47, 0] param/loadparm.c:map_parameter(2772) Unknown parameter encountered: "winbind enum user" [2009/03/06 15:00:47, 0] param/loadparm.c:lp_do_parameter(3512) Ignoring unknown parameter "winbind enum user" [2009/03/06 15:00:47, 0] param/loadparm.c:map_parameter(2772) Unknown parameter encountered: "winbind enum group" [2009/03/06 15:00:47, 0] param/loadparm.c:lp_do_parameter(3512) Ignoring unknown parameter "winbind enum group" *****'s password: Using short domain name -- ***** Joined '*****-****' to realm 'DOMAIN.UK' [root@MACHINE ~]#
rwwest7 wrote: » Have you tried just using LDAP?
undomiel wrote: » Is your winbind service still running after those 5 minutes? You might also want to check the start up order for the services. The winbind separator default is \ so you shouldn't need that line for your config. I haven't tried it but I see no reason why you wouldn't be able to add domain users to local groups since they are all mapped to an id.
undomiel wrote: » In my experience you needed winbind running before samba. You could try it both ways though and see which one is more effective for you. I'll see if I can find some time today and run through a simulation in my lab with CentOS and see if I'm missing anything in my directions.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!