[Samba] Samba 4 howto add nfs to krb5.keytab

2011-12-30 Thread steve
What's the syntax? I've tried: samba-tool spn add nfs/HH3.SITE Administrator which seems to work, but where do I go from here? THanks, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba 4 windows 7 roaming profile not saved

2011-12-30 Thread Bernd Markgraf
> The permissions on /usr/local/samba/var/profiles are: > > drwxr-xr-x 6 root root 4096 Dec 30 16:31 profiles > > Any ideas anyone? I have the profiles folder set to 1777 (drwxrwxrwt) bernd -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.s

Re: [Samba] Samba 4 windows 7 roaming profile not saved

2011-12-30 Thread Chris Weiss
On Fri, Dec 30, 2011 at 11:22 AM, steve wrote: > Hi > Version 4.0.0alpha18-GIT-bfc7481 > In smb.conf I have: > [profiles] >        path = /usr/local/samba/var/profiles >        read only = no > The profiles are set to \\DOMAIN\profiles\%USERNAME% using dsa.msc > > When a user first logs on, there

[Samba] Samba 4 windows 7 roaming profile not saved

2011-12-30 Thread steve
Hi Version 4.0.0alpha18-GIT-bfc7481 In smb.conf I have: [profiles] path = /usr/local/samba/var/profiles read only = no The profiles are set to \\DOMAIN\profiles\%USERNAME% using dsa.msc When a user first logs on, there is a message: 'You cannot access your files and files create

Re: [Samba] samba-server, windows7-clients, server-hostname

2011-12-30 Thread Helmut Hullen
Hallo, luxInteg, Du meintest am 30.12.11: > I have setup a computer to act as a 'samba-server'. The machine has > these:- --cpu: amd64 > --OS: cblfs linux > --samba-3.6.0 compiled from sources in /usr/local/samba > The clients are windows 7 clients. They can only see the server as > its IP-

Re: [Samba] samba-server, windows7-clients, server-hostname

2011-12-30 Thread Jürgen Echter
Am 30.12.2011 17:15, schrieb luxInteg: Greetings, I have setup a computer to act as a 'samba-server'. The machine has these:- --cpu: amd64 --OS: cblfs linux --samba-3.6.0 compiled from sources in /usr/local/samba The clients are windows 7 clients. They can only see the server as its IP- ad

[Samba] samba-server, windows7-clients, server-hostname

2011-12-30 Thread luxInteg
Greetings, I have setup a computer to act as a 'samba-server'. The machine has these:- --cpu: amd64 --OS: cblfs linux --samba-3.6.0 compiled from sources in /usr/local/samba The clients are windows 7 clients. They can only see the server as its IP- address not a name/hostname. QUESTION:

Re: [Samba] gnome-screensaver and PAM

2011-12-30 Thread Bruno Martins
On Fri, Dec 30, 2011 at 3:59 PM, Camaleón wrote: > On Fri, 30 Dec 2011 10:48:42 +, Bruno Martins wrote: > >> I am having this problem, and it gets logged every second: >> >> Dec 25 07:49:51 sputnik gnome-screensaver-dialog: >> pam_unix(gnome-screensaver:auth): authentication failure; logname=

Re: [Samba] samba file hierarcy issue

2011-12-30 Thread TAKAHASHI Motonobu
From: korhan yazgan Subject: [Samba] samba file hierarcy issue Date: Fri, 30 Dec 2011 16:15:40 +0200 > I try to configure a samba file server and create a file hierarcy for > clients to view folders. What i try to do is as below: > I wanted to create a folder x with no password and other folders

Re: [Samba] samba file hierarcy issue

2011-12-30 Thread Bruno Martins
On Fri, Dec 30, 2011 at 2:15 PM, korhan yazgan wrote: > Hi > > I try to configure a samba file server and create a file hierarcy for > clients to view folders. What i try to do is as below: > I wanted to create a folder x with no password and other folders w,y,z > inside folder x with password. So

[Samba] samba file hierarcy issue

2011-12-30 Thread korhan yazgan
Hi I try to configure a samba file server and create a file hierarcy for clients to view folders. What i try to do is as below: I wanted to create a folder x with no password and other folders w,y,z inside folder x with password. So users can enter and view x folder content but cant view w,y,z fol

Re: [Samba] winbind user mapping problem

2011-12-30 Thread Bruno Martins
I'm using 3.5.6. On Fri, Dec 30, 2011 at 12:35 PM, Lantukh Sergey wrote: > Good for you! > > I can not say it is logical or not. > > Maybe in another version works differently... > Which version are you using? > > > On 30/12/2011 13:24, Bruno Martins wrote: >> >> It solved my problem! Now, new us

Re: [Samba] winbind user mapping problem

2011-12-30 Thread Lantukh Sergey
Good for you! I can not say it is logical or not. Maybe in another version works differently... Which version are you using? On 30/12/2011 13:24, Bruno Martins wrote: It solved my problem! Now, new users get allocated right. But why did this happen? By the way, is it normal that previously ma

Re: [Samba] Samba and LDAP Server

2011-12-30 Thread Lantukh Sergey
Thanks, I got it! Samba is guided through the SRV records in DNS On 22/12/2011 19:15, David Roid wrote: Hello Lantukh, Domain controller, LDAP server and kdc can be found by DNS, Samba consults DNS server to find them. Therefore DNS server itself can be a single-point. I'm guessing your myser

Re: [Samba] winbind user mapping problem

2011-12-30 Thread Bruno Martins
It solved my problem! Now, new users get allocated right. But why did this happen? By the way, is it normal that previously mapped users keep with the old UID, and newly mapped ones get the UID in the now defined UID range? Best regards, Bruno Martins On Fri, Dec 30, 2011 at 12:14 PM, Lantukh S

Re: [Samba] login via Samba 4 LDAP

2011-12-30 Thread steve
On 30/12/11 13:09, steve wrote: On 30/12/11 09:38, steve wrote: On 29/12/11 19:14, Gémes Géza wrote: 2011-12-29 12:56 keltezéssel, steve írta: On 29/12/11 11:58, Gémes Géza wrote: 2011-12-29 10:11 keltezéssel, steve írta: On 29/12/11 10:00, steve wrote: On 28/12/11 21:59, Bernd Markgraf wro

Re: [Samba] winbind user mapping problem

2011-12-30 Thread Lantukh Sergey
The database is here (in Linux/Debian): /var/lib/samba/winbindd_idmap.tdb try to just delete (move/rename) it and then restart winbind. But do not forget about BACKUP! I had this problem and this solution helped me In AD there are not only users but also as a special accounts like krbtgt and g

Re: [Samba] login via Samba 4 LDAP

2011-12-30 Thread steve
On 30/12/11 09:38, steve wrote: On 29/12/11 19:14, Gémes Géza wrote: 2011-12-29 12:56 keltezéssel, steve írta: On 29/12/11 11:58, Gémes Géza wrote: 2011-12-29 10:11 keltezéssel, steve írta: On 29/12/11 10:00, steve wrote: On 28/12/11 21:59, Bernd Markgraf wrote: You should create a user in

Re: [Samba] winbind user mapping problem

2011-12-30 Thread Bruno Martins
Hello mate, Thanks for your answer. How can I do that? I've noticed this: root@sputnik:/var/lib/samba# wbinfo -u | wc -l 140 root@sputnik:/var/lib/samba# tdbbackup -v winbindd_idmap.tdb winbindd_idmap.tdb : 521 records Is this normal? 140 users on AD (seems correct), but 521 mappings? Best reg

Re: [Samba] winbind user mapping problem

2011-12-30 Thread Lantukh Sergey
Hello I think that you need to clean the Winbind database that contains bridge between UID/GID - SID And then restart winbind, and he again will fill the database On 30/12/2011 10:44, Bruno Martins wrote: Hello list, I am using Samba + winbind and I have some users that cannot access shares o

[Samba] winbind user mapping problem

2011-12-30 Thread Bruno Martins
Hello list, I am using Samba + winbind and I have some users that cannot access shares on this server, getting the following error in '/var/log/samba': [2011/12/30 09:33:08.072315, 1] smbd/sesssetup.c:454(reply_spnego_kerberos) Username GALILEU-F\teste is invalid on this system Also, in 'winbi

Re: [Samba] login via Samba 4 LDAP

2011-12-30 Thread steve
On 29/12/11 19:14, Gémes Géza wrote: 2011-12-29 12:56 keltezéssel, steve írta: On 29/12/11 11:58, Gémes Géza wrote: 2011-12-29 10:11 keltezéssel, steve írta: On 29/12/11 10:00, steve wrote: On 28/12/11 21:59, Bernd Markgraf wrote: You should create a user in AD for nss-ldap and extract a key