Hello guys, I have a Linux Box win R.H 7.2; I have compiled samba2.2.2 but I don't find the library pam_winbind.so. Someone can help me. Thanks, Dadi
On Mon, 10 Dec 2001, Daniele D'Iseppi wrote:> Hello guys, > I have a Linux Box win R.H 7.2; I have compiled samba2.2.2 but I don't find > the library pam_winbind.so.cd .../samba/source make nsswitch/pam_winbind.so Done. Yours Tony. /* * "The significant problems we face cannot be solved at the * same level of thinking we were at when we created them." * --Albert Einstein */
G'day all Im using winbind to use the passwords from a samba (HEAD) server. I have copied the following into my /etc/pam.d/login file auth required /lib/security/pam_securetty.so auth sufficient /lib/security/pam_winbind.so auth sufficient /lib/security/pam_unix.so use_first_pass auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so account sufficient /lib/security/pam_winbind.so account required /lib/security/pam_stack.so service=system-auth password required /lib/security/pam_stack.so service=system-auth session required /lib/security/pam_stack.so service=system-auth session optional /lib/security/pam_console.so When I try and telnet into the machine I get this in my messages log file Sep 16 16:22:59 yamin pam_winbind[9973]: request failed, PAM error was 4, NT error was NT_STATUS_INVALID_PARAMETER Sep 16 16:22:59 yamin pam_winbind[9973]: internal module error (retval = 4, user = `cairc' Sep 16 16:22:59 yamin pam_winbind[9973]: user 'cairc' granted acces Sep 16 16:22:59 yamin login(pam_unix)[9973]: session opened for user cairc by (uid=0) Sep 16 16:22:59 yamin -- cairc[9973]: LOGIN ON pts/2 BY cairc FROM 192.168.200.150 Any one else encounted this error before and knows what is wrong Thanks
Would any one know what these errors are and how they are created? I am using pam_winbind in my system-auth file. But when I try and telnet onto the machine, I get this error message in the log. Sep 18 16:41:47 yamin pam_winbind[1160]: request failed, PAM error was 4, NT error was NT_STATUS_INVALID_PARAMETER Sep 18 16:41:47 yamin pam_winbind[1160]: internal module error (retval = 4, user = `cj' Thanks
hello users! i've a problem in authentication : i'd like my AD users be to login in my linux .... soive installed samba 2.2.8 i ve joined the domain,winbind works (wbinfo -p, wbinfo -g, wbinfo -a ..) ive modified my nsswitch.conf : passwd files winbind nisplus nisshadow files winbind db nisplus nisgroup files winbind nisplus nis and i would like to know which other file i have to modify becausei've changed my /etc/pam.d/login like that :>#%PAM-1.0>auth required /lib/security/pam_securetty.so>auth sufficient /lib/security/pam_winbind.so>auth sufficient /lib/security/pam_unix.so use_first_pass nullok>auth required /lib/security/pam_stack.so service=system-auth>auth required /lib/security/pam_nologin.so>account required /lib/security/pam_stack.so service=system-auth>account required /lib/security/pam_winbind.so>password required /lib/security/pam_stack.so service=system-authand then i open a new console with [ctrl][alt][F1] then i cant log in with my user "pitie" ive tries with user "scienceu+pitie" it says nothing, i have to enter another login-pass i cant understand. my pam.d/login is false ? thanks!! chris --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail
> -----Original Message----- > From: chris Bouchet [mailto:duc_zergouille@yahoo.fr]> >auth required /lib/security/pam_securetty.so > > >auth sufficient /lib/security/pam_winbind.so > > >auth sufficient /lib/security/pam_unix.so use_first_pass nullok > > >auth required /lib/security/pam_stack.so service=system-auth > > >auth required /lib/security/pam_nologin.so > > >account required /lib/security/pam_stack.so service=system-auth > > >account required /lib/security/pam_winbind.so > > >password required /lib/security/pam_stack.so service=system-auth > > > > and then i open a new console with [ctrl][alt][F1] > > then i cant log in with my user "pitie" > > ive tries with user "scienceu+pitie"The problem may lie with your inclusion of "pam_stack.so service=system-auth". That file often contains a lot of stuff that may duplicate what you're already doing. Try commenting out the pam_stack lines for auth and account and see if things work. If they do, look at /etc/pam.d/system-auth and copy only what you need from it into your /etc/pam.d/login file. Alternatively, if you want all services to use winbind, you can put the winbind-specific stuff in /etc/pam.d/system-auth.
Hello, I am at my wits end with this... could someone please post a working /etc/pam.d/login and system-auth file for RedHat 9. I have followed various howto docs, and looked at quite a few configuration examples. None of them seem to work on my system. I am trying to get Redhat 9 clients to authenticate from an NT 4 server. I have been able to get this partialy working, but noticed that any wrong password would authenticate a user on the local machine...this of course was not desired. I also intend to use pam_mount and pam_mkhomdir as well. any help will be apreciated... thanx in advance.
I have an environment at home with the following: 1. Samba PDC 2.27A 2. Windows XP Pro, login in to the domain 3. Fedora Core 1 Workstation (with machine account on the domain) On the Fedora Workstation, smb.conf is fairly simple [global] workgroup = MEPHISTOPHELES server string = Samba Server security = DOMAIN auth methods = winbind log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No wins server = 192.168.1.10 ldap ssl = no idmap uid = 10000-20000 idmap gid = 10000-20000 template shell = /bin/sh [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No Winbind is running, with I do a getent passwd, among the standard passwd file entries, I get the following: MEPHISTOPHELES\roberto:x:10000:10000::/home/MEPHISTOPHELES/roberto:/bin/sh MEPHISTOPHELES\joann:x:10001:10000::/home/MEPHISTOPHELES/joann:/bin/sh MEPHISTOPHELES\root:x:10002:10000::/home/MEPHISTOPHELES/root:/bin/sh I'm not knowedgeable when it comes to PAM configuration, but I configure two files according to the documentation I read. login file #%PAM-1.0 auth required /lib/security/pam_stack.so service=system-auth auth sufficient /lib/security/pam_winbind.so use_first_pass account required /lib/security/pam_winbind.so session required /lib/security/pam_limits.so session required /lib/security/pam_mkhomedir.so umask=0022 session optional /lib/security/pam_console/so and gdm file #%PAM-1.0 auth required /lib/security/pam_stack.so service=system-auth auth sufficient /lib/security/pam_winbind.so account required /lib/security/pam_winbind.so session required /lib/security/pam_limits.so session optional /lib/security/pam_console.so session required /lib/security/pam_mkhomedir.so skel=/etc/skel umask=0022 I still can't log in from my work station, using for example the <roberto> login from the domain. Is anyone able to see where I may have gone wrong. Thank You Roberto