Re: [Samba] LDAP problem

2008-01-06 Thread Diego Obetko
[2008/01/06 15:17:45, 2] passdb/pdb_ldap.c:init_sam_from_ldap(511)
  init_sam_from_ldap: Entry found for user: Invite
[2008/01/06 15:17:45, 4] lib/substitute.c:automount_server(323)
  Home server: servpdc
[2008/01/06 15:17:45, 1] auth/auth_util.c:make_server_info_sam(822)
  User Invite in passdb, but getpwnam() fails!


check  passdb backend   in your smb.conf and its integrity

On Jan 7, 2008 1:41 AM, Tanguy Léost <[EMAIL PROTECTED]> wrote:

> le 07.01.2008 01:39  Tanguy Léost ecrivait :
>
> >
> > I forgot to mention something weird:
> > sometimes (maybe one time out of 10 or 15...) the PDC grants
> > me access to the domain. I can open a windows session, or have
> > access to a share on the PDC from my windows session.
> > ...Keeps me even more confused.
> >
> >
>
> I noticed that I could have access to the PDC more often
> when i launched smbd with the -i switch (i.e. in foreground).
> I'm really confused, does anyone have an idea about what that
> means?
> When it is run at startup, it is just run as smbd -D
> and then almost all connections fail.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] net rpc join -U root error

2007-11-07 Thread Diego Obetko
[quote]
[EMAIL PROTECTED] samba]# net rpc join -U root%

Unable to find a suitable server

[EMAIL PROTECTED] samba]# net rpc testjoin -S GOMER -U root%xxx
Join to 'ADMIN' is OK
[EMAIL PROTECTED] samba]# net rpc testjoin -D DOMAIN -U root%xxx

Unable to find a suitable server
Join to domain 'ADMIN' is not valid
[/quote]


What is the samba server netbios name and workgroup ??

as far as i can see the domain is ADMIN and the samba netbios name is GOMER

so, what is DOMAIN in "[EMAIL PROTECTED] samba]# net rpc testjoin -D DOMAIN -U
root"

another thing, you don't need to pass the password in that command.. you can
issue it as i put it up here and it will as you for root's password...


Diego


On Nov 7, 2007 9:08 PM, Ivan Ordonez <[EMAIL PROTECTED]> wrote:

> I think he did a "net rpc testjoin" command and got a "no suitable
> server" response.
>
> Diego Obetko wrote:
> > i'm sorry but he did join the machine in an earlier reply.. don't know
> > if it's the same machine or situation...
> >
> > [quote]
> > [EMAIL PROTECTED] etc]# net rpc join -S GOMER -U root
> > Password:
> > Joined domain ADMIN.
> > [/quote]
> >
> > On Nov 7, 2007 7:04 PM, Ivan Ordonez <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > Make sure that the version of samba are all the same.  Somehow, the
> > 3.0.26 version is not compatible with 3.0.24.  If your PDC has an
> > earlier version to that machine you are trying to join, you will
> > not be
> > able to join it to the domain.
> >
> > Adam Williams wrote:
> > > I turned on log level = 10 and got some more data.
> > >
> > > [EMAIL PROTECTED] samba]# net rpc join -S GOMER -U root
> > > [2007/11/07 15:52:27, 0] libsmb/clientgen.c:cli_receive_smb(112)
> > >  Receiving SMB: Server stopped responding
> > > [2007/11/07 15:52:27, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
> > >  rpc_api_pipe: Remote machine GOMER pipe \NETLOGON fnum
> > 0x7751returned
> > > critical error. Error was Call timed out: server did not respond
> > after
> > > 1 milliseconds
> > > Password:
> > > [2007/11/07 15:53:00, 0] libsmb/clientgen.c:cli_receive_smb(112)
> > >  Receiving SMB: Server stopped responding
> > > [2007/11/07 15:53:00, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
> > >  rpc_api_pipe: Remote machine GOMER pipe \samr fnum 0x7775returned
> > > critical error. Error was Call timed out: server did not respond
> > after
> > > 1 milliseconds
> > > Creation of workstation account failed
> > > Unable to join domain ADMIN.
> > > [EMAIL PROTECTED] samba]# /etc/rc.d/init.d/smb restart &&
> > > /etc/rc.d/init.d/winbind restart
> > > Shutting down SMB services:[  OK
>  ]
> > > Starting SMB services: [  OK
>  ]
> > >
> > > Shutting down Winbind services:[  OK
>  ]
> > > Starting Winbind services: [  OK
>  ]
> > > [EMAIL PROTECTED] samba]# wbinfo -u
> > > Error looking up domain users
> > >
> > >
> > > Diego Obetko wrote:
> > >>  but you used that sintax that didn't work again..
> > >>
> > >> try this # net rpc join -S GOMER -U root
> > >> then
> > >> # /etc/rc.d/init.d/smb restart && /etc/rc.d/init.d/winbind
> restart
> > >> then
> > >> # wbinfo -u
> > >>
> > >>
> > >
> >
> >
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] net rpc join -U root error

2007-11-07 Thread Diego Obetko
i'm sorry but he did join the machine in an earlier reply.. don't know if
it's the same machine or situation...

[quote]
[EMAIL PROTECTED] etc]# net rpc join -S GOMER -U root
Password:
Joined domain ADMIN.
[/quote]



On Nov 7, 2007 7:04 PM, Ivan Ordonez <[EMAIL PROTECTED]> wrote:

> Make sure that the version of samba are all the same.  Somehow, the
> 3.0.26 version is not compatible with 3.0.24.  If your PDC has an
> earlier version to that machine you are trying to join, you will not be
> able to join it to the domain.
>
> Adam Williams wrote:
> > I turned on log level = 10 and got some more data.
> >
> > [EMAIL PROTECTED] samba]# net rpc join -S GOMER -U root
> > [2007/11/07 15:52:27, 0] libsmb/clientgen.c:cli_receive_smb(112)
> >  Receiving SMB: Server stopped responding
> > [2007/11/07 15:52:27, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
> >  rpc_api_pipe: Remote machine GOMER pipe \NETLOGON fnum 0x7751returned
> > critical error. Error was Call timed out: server did not respond after
> > 1 milliseconds
> > Password:
> > [2007/11/07 15:53:00, 0] libsmb/clientgen.c:cli_receive_smb(112)
> >  Receiving SMB: Server stopped responding
> > [2007/11/07 15:53:00, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
> >  rpc_api_pipe: Remote machine GOMER pipe \samr fnum 0x7775returned
> > critical error. Error was Call timed out: server did not respond after
> > 1 milliseconds
> > Creation of workstation account failed
> > Unable to join domain ADMIN.
> > [EMAIL PROTECTED] samba]# /etc/rc.d/init.d/smb restart &&
> > /etc/rc.d/init.d/winbind restart
> > Shutting down SMB services:[  OK  ]
> > Starting SMB services: [  OK  ]
> >
> > Shutting down Winbind services:    [  OK  ]
> > Starting Winbind services: [  OK  ]
> > [EMAIL PROTECTED] samba]# wbinfo -u
> > Error looking up domain users
> >
> >
> > Diego Obetko wrote:
> >>  but you used that sintax that didn't work again..
> >>
> >> try this # net rpc join -S GOMER -U root
> >> then
> >> # /etc/rc.d/init.d/smb restart && /etc/rc.d/init.d/winbind restart
> >> then
> >> # wbinfo -u
> >>
> >>
> >
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] net rpc join -U root error

2007-11-07 Thread Diego Obetko
On Nov 7, 2007 6:34 PM, Adam Williams <[EMAIL PROTECTED]> wrote:

>  yeah, no luck :(
>
> [EMAIL PROTECTED] ~]# /etc/rc.d/init.d/smb restart && /etc/rc.d/init.d/winbind
> restart
> Shutting down SMB services:[  OK  ]
> Starting SMB services: [  OK  ]
>
> Shutting down Winbind services:[  OK  ]
> Starting Winbind services: [  OK  ]
> [EMAIL PROTECTED] ~]# net rpc join -U root%xxx
> Unable to find a suitable server
>
>  but you used that sintax that didn't work again..

try this
# net rpc join -S GOMER -U root
then
# /etc/rc.d/init.d/smb restart && /etc/rc.d/init.d/winbind restart
then
# wbinfo -u



>
>
> On Nov 7, 2007 5:11 PM, Adam Williams < [EMAIL PROTECTED]> wrote:
>
> > yeah, that works, but thats not what the Samba 3 by Example book has.
> >
> > [EMAIL PROTECTED] etc]# net rpc join -S GOMER -U root
> > Password:
> > Joined domain ADMIN.
> >
> > But, winbind is still broken.
> >
> > [EMAIL PROTECTED] etc]# wbinfo -g
> > Error looking up domain groups
> > [EMAIL PROTECTED] etc]# wbinfo -u
> > Error looking up domain users
> >
> > any ideas on that?
> >
> > Diego Obetko wrote:
> > > I've been using
> > > # net rpc join -S (domain) -U root
> > >
> > > Diego
> >
> >
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] net rpc join -U root error

2007-11-07 Thread Diego Obetko
have you tried restarting both samba and winbind services ??

or as Roy from the "IT Crowd" says.. "Have you tried turning it off and on
again?" :P

Diego

On Nov 7, 2007 5:11 PM, Adam Williams <[EMAIL PROTECTED]> wrote:

> yeah, that works, but thats not what the Samba 3 by Example book has.
>
> [EMAIL PROTECTED] etc]# net rpc join -S GOMER -U root
> Password:
> Joined domain ADMIN.
>
> But, winbind is still broken.
>
> [EMAIL PROTECTED] etc]# wbinfo -g
> Error looking up domain groups
> [EMAIL PROTECTED] etc]# wbinfo -u
> Error looking up domain users
>
> any ideas on that?
>
> Diego Obetko wrote:
> > I've been using
> > # net rpc join -S (domain) -U root
> >
> > Diego
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Pam_mount + cifs

2007-10-23 Thread Diego Obetko
On 10/22/07, Thierry Lacoste <[EMAIL PROTECTED]> wrote:
>
> Did you try mount_cifs manually ?
>
> FWIW here's what I have in my pam_mount.conf (ahomes is the samba server)
> :
> volume * cifs ahomes & ~/ uid=&,filemode=0700,dirmode=0700 - -
>

 i've tried that... no luck. manually mounting the share i get the same
behaviour

drwx-- 36 1181 guest0 2007-10-17 09:33 dobetko

id  shows information correctly though :/


Bjørn:

When compiling (make the pam_cifs i get this error..

In file included from pam_cifs.c:22:
pam_cifs_module.h:32:34: error: security/pam_modules.h: No existe el fichero
o el directorio
pam_cifs_module.h:33:34: error: security/_pam_macros.h: No existe el fichero
o el directorio
In file included from pam_cifs.c:22:
pam_cifs_module.h:40: error: expected ')' before '*' token
pam_cifs.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
pam_cifs.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
pam_cifs.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
make: *** [pam_cifs.o] Error 1
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Pam_mount + cifs

2007-10-22 Thread Diego Obetko
forgot about this one

[EMAIL PROTECTED]:~$ id 1181
id: 1181: No existe ese usuario (doesn't exist)


On 10/22/07, Diego Obetko <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED]:~$ id
> uid=10323(dobetko) gid=10002(soporte)
> grupos=1,10002(soporte),10051,10055
>
> [EMAIL PROTECTED]:~$ whoami
> dobetko
>
> [EMAIL PROTECTED]:~$ ls -l /home/dobetko
> total 156566
> -rwxr-xr-x 1 dobetko root0 2006-08-23 07:00 7725_EntConsole.log
> -rwxr-xr-x 1 dobetko root95514 2004-01-22 06:39 bliss.jpg
> drwx-- 1 dobetko root 4096 2007-10-18 09:49 Desktop
> drwx-- 1 dobetko root 4096 2006-09-29 08:02 Entorno de red
> drwx-- 1 dobetko root 4096 2007-06-14 08:01 Escritorio
> drwx-- 1 dobetko root 4096 2006-09-29 08:14 garfio
> drwx-- 1 dobetko root 4096 2006-09-08 10:16 groupware
> -rwxr-xr-x 1 dobetko root   904153 2003-03-11 21:32 In_Gods_Country.jpg
> drwx-- 1 dobetko root 4096 2007-07-05 08:45 juegos
> drwx-- 1 dobetko root 4096 2007-10-16 11:40 Mis documentos
> -rwxr-xr-x 1 dobetko root2 2007-10-09 10:53 openoffice.txt
> drwx-- 1 dobetko root 4096 2006-10-23 08:10 perfil_win
> -rwxr-xr-x 1 dobetko root0 2007-10-03 10:42 prueba
> -rwxr-xr-x 1 dobetko root0 2007-10-05 17:35 pruieba
> -rwxr-xr-x 1 dobetko root0 2007-05-23 13:54 rc.local
>
>
>
> On 10/19/07, Thierry Lacoste <[EMAIL PROTECTED]> wrote:
> >
> > I have it working in an LDAP context.
> > However I was unable to make KDE work.
> > http://lists.samba.org/archive/samba/2006-July/122347.html
> > If you make some progress please let me know.
> >
> > Regards,
> > Thierry.
> >
> > On Wednesday 17 October 2007 19:18, Diego Obetko wrote:
> > > Hi, i'm probably not the first but i have found no concrete
> > information
> > > about my problem... lots of information, nothing helped.. :S
> > >
> > > so, here's the thing.. i'm running a  samba-3.0.22-13.16 server on
> > SLES 9
> > > kernel 2.6.16.21-0.8-default as an nt domain controller, there was a
> > > migration to Linux for the workstations so i had to implement WINBIND
> > +
> > > PAM_MOUNT.
> > Maybe a winbind issue. See below.
> > >
> > > after searching for the right configuration y got it working with
> > SMBFS and
> > > here's the problem... smbfs doesn't support hardlinks or symlinks... a
> > BIG
> > > trouble since the workstations run KDE (dcop)...
> > >
> > > i've tryed mounting homes with cifs insted but this is what
> > happens
> > >
> > > -
> > > pam_mount.conf
> > > -
> > > debug 1
> > > mkmountpoint 1
> > > luserconf .pam_mount.conf
> > >
> > > options_allow   nosuid,nodev
> > > options_denysuid,dev
> > > options_require nosuid,nodev
> > >
> > > lsof /usr/sbin/lsof %(MNTPT)
> > > fsck /sbin/fsck -p %(FSCKLOOP)
> > > cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o
> > > "username=%(USER)%(before=\",\" OPTIONS)"
> > > smbmount /usr/bin/smbmount  //%(SERVER)/%(VOLUME) %(MNTPT) -o
> > > "username=%(USER),gid=%(USERGID)%(before=\",\" OPTIONS)"
> > > umount   /bin/umount %(MNTPT)
> > > mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT)
> > >
> > > volume * cifs 192.168.9.15 &   /home/&
> > > uid=&,dir_mode=0700,workgroup=COLEGIO - -
> > >
> > > ---
> > >
> > >
> > > pam_mount(mount.c:368) information for mount:
> > > pam_mount( mount.c:369) --
> > > pam_mount(mount.c:370) (defined by globalconf)
> > > pam_mount(mount.c:373) user:  dobetko
> > > pam_mount(mount.c:374) server: 192.168.9.15
> > > pam_mount(mount.c:375) volume:dobetko
> > > pam_mount(mount.c:376) mountpoint:/home/dobetko
> > > pam_mount(mount.c:377) options:   user=dobetko,dir_mode=0700
> > > pam_mount( mount.c:378) fs_key_cipher:
> > > pam_mount(mount.c:379) fs_key_path:
> > > pam_mount(mount.c:380) use_fstab:   0
> > > pam_mount(mount.c:381) --
> > > pam_mount(mount.c:177) realpath of volume "/home/dobetko" is
> > > "/home/dobetko" pam_mount(mount.c:182) checking to see if
> > > //192.168.9.15/dobetko is already mounted at /home/dobetko
> > > pam_mount(mount.c:799) checking f

Re: [Samba] Pam_mount + cifs

2007-10-22 Thread Diego Obetko
[EMAIL PROTECTED]:~$ id
uid=10323(dobetko) gid=10002(soporte)
grupos=1,10002(soporte),10051,10055

[EMAIL PROTECTED]:~$ whoami
dobetko

[EMAIL PROTECTED]:~$ ls -l /home/dobetko
total 156566
-rwxr-xr-x 1 dobetko root0 2006-08-23 07:00 7725_EntConsole.log
-rwxr-xr-x 1 dobetko root95514 2004-01-22 06:39 bliss.jpg
drwx-- 1 dobetko root 4096 2007-10-18 09:49 Desktop
drwx-- 1 dobetko root 4096 2006-09-29 08:02 Entorno de red
drwx-- 1 dobetko root 4096 2007-06-14 08:01 Escritorio
drwx-- 1 dobetko root 4096 2006-09-29 08:14 garfio
drwx-- 1 dobetko root 4096 2006-09-08 10:16 groupware
-rwxr-xr-x 1 dobetko root   904153 2003-03-11 21:32 In_Gods_Country.jpg
drwx-- 1 dobetko root 4096 2007-07-05 08:45 juegos
drwx-- 1 dobetko root 4096 2007-10-16 11:40 Mis documentos
-rwxr-xr-x 1 dobetko root2 2007-10-09 10:53 openoffice.txt
drwx-- 1 dobetko root 4096 2006-10-23 08:10 perfil_win
-rwxr-xr-x 1 dobetko root0 2007-10-03 10:42 prueba
-rwxr-xr-x 1 dobetko root0 2007-10-05 17:35 pruieba
-rwxr-xr-x 1 dobetko root0 2007-05-23 13:54 rc.local



On 10/19/07, Thierry Lacoste <[EMAIL PROTECTED]> wrote:
>
> I have it working in an LDAP context.
> However I was unable to make KDE work.
> http://lists.samba.org/archive/samba/2006-July/122347.html
> If you make some progress please let me know.
>
> Regards,
> Thierry.
>
> On Wednesday 17 October 2007 19:18, Diego Obetko wrote:
> > Hi, i'm probably not the first but i have found no concrete information
> > about my problem... lots of information, nothing helped.. :S
> >
> > so, here's the thing.. i'm running a  samba-3.0.22-13.16 server on SLES
> 9
> > kernel 2.6.16.21-0.8-default as an nt domain controller, there was a
> > migration to Linux for the workstations so i had to implement WINBIND +
> > PAM_MOUNT.
> Maybe a winbind issue. See below.
> >
> > after searching for the right configuration y got it working with SMBFS
> and
> > here's the problem... smbfs doesn't support hardlinks or symlinks... a
> BIG
> > trouble since the workstations run KDE (dcop)...
> >
> > i've tryed mounting homes with cifs insted but this is what happens
> >
> > -
> > pam_mount.conf
> > -
> > debug 1
> > mkmountpoint 1
> > luserconf .pam_mount.conf
> >
> > options_allow   nosuid,nodev
> > options_denysuid,dev
> > options_require nosuid,nodev
> >
> > lsof /usr/sbin/lsof %(MNTPT)
> > fsck /sbin/fsck -p %(FSCKLOOP)
> > cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o
> > "username=%(USER)%(before=\",\" OPTIONS)"
> > smbmount /usr/bin/smbmount  //%(SERVER)/%(VOLUME) %(MNTPT) -o
> > "username=%(USER),gid=%(USERGID)%(before=\",\" OPTIONS)"
> > umount   /bin/umount %(MNTPT)
> > mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT)
> >
> > volume * cifs 192.168.9.15 &   /home/&
> > uid=&,dir_mode=0700,workgroup=COLEGIO - -
> >
> > ---
> >
> >
> > pam_mount(mount.c:368) information for mount:
> > pam_mount(mount.c:369) --
> > pam_mount(mount.c:370) (defined by globalconf)
> > pam_mount(mount.c:373) user:  dobetko
> > pam_mount(mount.c:374) server:192.168.9.15
> > pam_mount(mount.c:375) volume:dobetko
> > pam_mount(mount.c:376) mountpoint:/home/dobetko
> > pam_mount(mount.c:377) options:   user=dobetko,dir_mode=0700
> > pam_mount(mount.c:378) fs_key_cipher:
> > pam_mount(mount.c:379) fs_key_path:
> > pam_mount(mount.c:380) use_fstab:   0
> > pam_mount(mount.c:381) --
> > pam_mount(mount.c:177) realpath of volume "/home/dobetko" is
> > "/home/dobetko" pam_mount(mount.c:182) checking to see if
> > //192.168.9.15/dobetko is already mounted at /home/dobetko
> > pam_mount(mount.c:799) checking for encrypted filesystem key
> configuration
> > pam_mount(mount.c:819) about to start building mount command
> > pam_mount(misc.c:264) command: /bin/mount [-t] [cifs]
> > [//192.168.9.15/dobetko] [/home/dobetko] [-o]
> > [username=dobetko,user=dobetko,dir_mode=0700]
> > pam_mount(mount.c:851) mount errors (should be empty):
> > pam_mount(mount.c:100) pam_mount(misc.c:341) set_myuid(pre): real
> > uid/gid=0:10003, effective uid/gid=0:10003
> > pam_mount(mount.c:100) pam_mount(misc.c:376) set_myuid(post): real
> > uid/gid=0:10003, effective uid/gid=0:10003
> > pam_mount(mount.c:854) waiting for mount
> > S.ficheros

[Samba] Pam_mount + cifs

2007-10-17 Thread Diego Obetko
Hi, i'm probably not the first but i have found no concrete information
about my problem... lots of information, nothing helped.. :S

so, here's the thing.. i'm running a  samba-3.0.22-13.16 server on SLES 9
kernel 2.6.16.21-0.8-default as an nt domain controller, there was a
migration to Linux for the workstations so i had to implement WINBIND +
PAM_MOUNT.

after searching for the right configuration y got it working with SMBFS and
here's the problem... smbfs doesn't support hardlinks or symlinks... a BIG
trouble since the workstations run KDE (dcop)...

i've tryed mounting homes with cifs insted but this is what happens

-
pam_mount.conf
-
debug 1
mkmountpoint 1
luserconf .pam_mount.conf

options_allow   nosuid,nodev
options_denysuid,dev
options_require nosuid,nodev

lsof /usr/sbin/lsof %(MNTPT)
fsck /sbin/fsck -p %(FSCKLOOP)
cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o
"username=%(USER)%(before=\",\" OPTIONS)"
smbmount /usr/bin/smbmount  //%(SERVER)/%(VOLUME) %(MNTPT) -o
"username=%(USER),gid=%(USERGID)%(before=\",\" OPTIONS)"
umount   /bin/umount %(MNTPT)
mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT)

volume * cifs 192.168.9.15 &   /home/&
uid=&,dir_mode=0700,workgroup=COLEGIO - -

---


pam_mount(mount.c:368) information for mount:
pam_mount(mount.c:369) --
pam_mount(mount.c:370) (defined by globalconf)
pam_mount(mount.c:373) user:  dobetko
pam_mount(mount.c:374) server:192.168.9.15
pam_mount(mount.c:375) volume:dobetko
pam_mount(mount.c:376) mountpoint:/home/dobetko
pam_mount(mount.c:377) options:   user=dobetko,dir_mode=0700
pam_mount(mount.c:378) fs_key_cipher:
pam_mount(mount.c:379) fs_key_path:
pam_mount(mount.c:380) use_fstab:   0
pam_mount(mount.c:381) --
pam_mount(mount.c:177) realpath of volume "/home/dobetko" is "/home/dobetko"
pam_mount(mount.c:182) checking to see if //192.168.9.15/dobetko is already
mounted at /home/dobetko
pam_mount(mount.c:799) checking for encrypted filesystem key configuration
pam_mount(mount.c:819) about to start building mount command
pam_mount(misc.c:264) command: /bin/mount [-t] [cifs]
[//192.168.9.15/dobetko] [/home/dobetko] [-o]
[username=dobetko,user=dobetko,dir_mode=0700]
pam_mount(mount.c:851) mount errors (should be empty):
pam_mount(mount.c:100) pam_mount(misc.c:341) set_myuid(pre): real
uid/gid=0:10003, effective uid/gid=0:10003
pam_mount(mount.c:100) pam_mount(misc.c:376) set_myuid(post): real
uid/gid=0:10003, effective uid/gid=0:10003
pam_mount(mount.c:854) waiting for mount
S.ficheros Bloques de 1K   UsadoDispon Uso% Montado en
/dev/hda1 27617036  15634032  10580132  60% /
tmpfs   254372 0254372   0% /lib/init/rw
udev 1024052 10188   1% /dev
tmpfs   254372 0254372   0% /dev/shm
//192.168.9.15/dobetko
 117206592 101382352  15824240  87% /home/dobetko
pam_mount(pam_mount.c:123) clean system authtok (0)
pam_mount(misc.c:264) command: /usr/sbin/pmvarrun [-u] [dobetko] [-o] [1]
pam_mount(misc.c:341) set_myuid(pre): real uid/gid=0:10003, effective
uid/gid=0:10003
pam_mount(misc.c:376) set_myuid(post): real uid/gid=0:10003, effective
uid/gid=0:10003
pam_mount(pam_mount.c:360) pmvarrun says login count is 3
pam_mount(pam_mount.c:491) done opening session
bash: /home/dobetko/.bashrc: Permision denied

$mount
//192.168.9.15/dobetko on /home/dobetko type cifs (rw,mand)

$ls -l /home
drwx-- 36 1181 guest0 2007-10-17 09:33 dobetko


smb.conf (server side)

[global]
server string = Samba PDC
domain logons = Yes
domain master = Yes
netbios name = samba
security = users
wins support = Yes
#   unix password sync = yes
workgroup = COLEGIO
logon drive = H:
logon path = \\%L\%U\./.perfil_win
logon home = \\%L\profiles\%U
add machine script = /usr/sbin/useradd  -c Machine -d
/var/lib/nobody -s /bin/false %m$
passdb backend = smbpasswd
veto files = /*.asf/*.wma/*.wmv/*.mp2/*.mp4/*.mp3/*.rsm/*root*/
local master = Yes
os level = 65
preferred master = Yes
ea support = yes
unix extensions = yes
map archive = No
delete readonly = Yes
create mask = 0755
case sensitive = yes
mangled names = no


-
smb.conf (client side)
-
[global]
workgroup = COLEGIO
idmap uid = 1-2
idmap gid = 1-2
security = domain
auth methods = winbind
preferred master = No
domain master = No
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = Yes
template shell = /bin/bash
template homedir = /home/%U