[arch-general] nmbd fails to start

Guillermo Leira gleira at gleira.com
Fri Feb 1 04:04:38 EST 2013


> > >> It should work with latest 3.6.12-1,
> > >> if not please report back.
> > > It does not work, at least for me. Is it necessary to change anything in
> the
> > configuration?
> > >
> > > I'm using the "x-systemd.automount" option in fstab:
> > >
> > > //nas/publico /mnt/nas cifs noauto,x-
> >
> systemd.automount,credentials=/root/creds.pow,uid=gleira,gid=users,iocharset=u
> > tf8 0 0
> > >
> > > And I have hundreds of lines like these in dmesg:
> > >
> > > [ 1099.716137] CIFS VFS: cifs_mount failed w/return code = -13
> > > [ 1103.720104] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
> > > [ 1103.720114] CIFS VFS: Send error in SessSetup = -13
> > > [ 1103.720237] CIFS VFS: cifs_mount failed w/return code = -13
> > > [ 1107.709261] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
> > >
> > > Regards,
> > >
> > > Guillermo Leira
> > >
> > >
> > >
> > >
> > To be clear your nmbd, smbd are starting fine?
> > What are the errors if it's not startin ok?
> 
> It seems that they are starting fine...
> 
> [gleira at guillelinux Desktop]$ systemctl status smbd
> smbd.service - Samba SMB/CIFS server
> 	  Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
> 	  Active: active (running) since jue 2013-01-31 17:38:24 CET; 1min 55s
> ago
> 	 Process: 518 ExecStart=/usr/sbin/smbd -D (code=exited,
> status=0/SUCCESS)
> 	Main PID: 527 (smbd)
> 	  CGroup: name=systemd:/system/smbd.service
> 		  ├─527 /usr/sbin/smbd -D
> 		  └─531 /usr/sbin/smbd -D
> 
> [gleira at guillelinux Desktop]$ systemctl status nmbd
> nmbd.service - Samba NetBIOS name server
> 	  Loaded: loaded (/usr/lib/systemd/system/nmbd.service; enabled)
> 	  Active: active (running) since jue 2013-01-31 17:38:24 CET; 2min 0s
> ago
> 	 Process: 514 ExecStart=/usr/sbin/nmbd -D (code=exited,
> status=0/SUCCESS)
> 	Main PID: 517 (nmbd)
> 	  CGroup: name=systemd:/system/nmbd.service
> 		  └─517 /usr/sbin/nmbd -D
> 
> 
> But...
> 
> mnt-comercial.mount                                      loaded failed
> failed    /mnt/comercial
> mnt-comun.mount                                          loaded failed
> failed    /mnt/comun
> mnt-nas.mount                                            loaded failed
> failed    /mnt/nas
> 
> Jan 31 17:41:53 localhost systemd[1]: Mounting /mnt/nas...
> Jan 31 17:41:53 localhost mount[1992]: mount error(13): Permission denied
> Jan 31 17:41:53 localhost mount[1992]: Refer to the mount.cifs(8) manual page
> (e.g. man mount.cifs)
> Jan 31 17:41:53 localhost systemd[1]: mnt-nas.mount mount process exited,
> code=exited status=32
> Jan 31 17:41:53 localhost kernel: [  214.702067] Status code returned
> 0xc000006d NT_STATUS_LOGON_FAILURE
> Jan 31 17:41:53 localhost systemd[1]: Unit mnt-nas.mount entered failed state
> 
> It works fine at home. It would look as there is some password problem, but I
> have not changed my password, and I can login without problems. It seems that
> something has changed in the way it authenticates in the domain (I don't have
> a domain at home).

It works now. I have been using a credentials file like this for a couple of years:

Username=domain/username
Password=password

I have had to remove the "domain" from the credentials file, and now it works fine. I tried to mount from the command line and it worked without the domain part, and then I modified the credentials file.

I'll have to dig into the documentation to see what has changed.

Regards,

Guillermo Leira
 





More information about the arch-general mailing list