Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Enable the SWAT Samba config tool in 10.4' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable the SWAT Samba config tool in 10.4
Authored by: StormeRider on Sep 29, '05 11:21:31AM
-d 10 is to turn on debug level 10. An alternate way to start is to use launchctl:
$ sudo launchctl load -w /System/Library/LaunchDaemons/swat.plist
$ sudo launchctl list | grep -i swat
org.samba.swat
Still trying to track down the right way to authenticate... /var/log/samba/log.swat has this error:
[2005/09/29 18:10:29, 4] /SourceCache/samba/samba-92.9/samba/source/auth/pass_check.c:pass_check(621)
  pass_check: Checking (PAM) password for user root (l=8)
[2005/09/29 18:10:29, 4] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_start(463)
  smb_pam_start: PAM: Init user: root
[2005/09/29 18:10:29, 4] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_start(480)
  smb_pam_start: PAM: setting rhost to: 0.0.0.0
[2005/09/29 18:10:29, 4] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_start(489)
  smb_pam_start: PAM: setting tty
[2005/09/29 18:10:29, 4] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_start(497)
  smb_pam_start: PAM: Init passed for user: root
[2005/09/29 18:10:29, 4] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_auth(514)
  smb_pam_auth: PAM: Authenticate User: root
[2005/09/29 18:10:29, 2] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_auth(518)
  smb_pam_auth: PAM: Athentication Error for user root
[2005/09/29 18:10:29, 2] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_error_handler(77)
  smb_pam_error_handler: PAM: Authentication Failure : Authentication failure
[2005/09/29 18:10:29, 0] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_passcheck(814)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User root !
[2005/09/29 18:10:29, 4] /SourceCache/samba/samba-92.9/samba/source/auth/pampass.c:smb_pam_end(444)
  smb_pam_end: PAM: PAM_END OK.


[ Reply to This | # ]
Enable the SWAT Samba config tool in 10.4
Authored by: ikirudennis on Jan 24, '06 02:09:39PM

I just stumbled upon this fix recently, and although it seems to get me quite a bit closer to actually configuring samba, it falls just short. Has anyone figured out anything further regarding configuring samba, swat or smbd user accounts?



[ Reply to This | # ]