[Samba] Exporting users profiles

2010-12-09 Thread shacky
Hi!

Is there a tool that can help exporting simply and fastly some or all
Windows local user profiles to a Samba Primary Domain Controller to
have them roaming when I have to insert one or some clients in a Samba
domain?

Thank you very much for your help!
Bye.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Installing smbdaudit on Samba 3.0.25

2009-06-16 Thread shacky
Hi.
Could you help me to install smbdaudit on Samba 3.0.25, please?
The official documentation does not cover Samba 3.0.25 (because
smbdaudit is quite old) and it does not word properly with that
version of Samba.
Is there a way to get it working?

Thank you very much!
Bye.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Difference between "create mask" and "force create mode"

2008-07-29 Thread shacky
Hi.

What is the difference between "create mask" and "force create mode"
and between "directory mask" and "force directory mode"?

Thank you very much!
Bye.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Winbind problem

2008-07-27 Thread shacky
Hi.

I'm trying to authenticate my proxy server (Debian Stable) to the
Active Directory domain managed by a Windows 2003 Standard Server, but
I have some problems:

proxy:~# net join -w TEST.LOCAL -S win2003test -U Administrator
Administrator's password:
[2008/07/26 15:31:31, 0] libads/kerberos.c:ads_kinit_password(208)
  kerberos_kinit_password [EMAIL PROTECTED] failed: Preauthentication failed
[2008/07/26 15:31:31, 0] utils/net_ads.c:ads_startup(289)
  ads_connect: Preauthentication failed
ADS join did not work, falling back to RPC...
Joined domain TEST.

proxy:~# wbinfo -u
Error looking up domain users
proxy:~# wbinfo -g
Error looking up domain groups

This is my /etc/samba/smb.conf:

[global]
  server string = Samba Proxy
  password server = win2003test
  security = domain
  encrypt passwords = yes
  workgroup = TEST.LOCAL
  winbind separator = @
  template homedir = /home/%D/%U
  template shell = /bin/bash
  winbind uid = 1-2
  winbind gid = 1-2
  winbind enum users = yes
  winbind enum groups = yes
  log file = /var/log/samba/%m.log
  max log size = 50
  socket options = TCP_NODELAY
  realm = TEST.LOCAL

Could you help me to solve this problem, please?

Thank you very much!
Bye.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Users SID problem

2008-05-09 Thread shacky
2008/5/8 Linux Addict <[EMAIL PROTECTED]>:
> 1. Fix your smb.conf. It seems to be having issues as it shows error.
> testparm again and it shudn't return any errors. Use SWAT if you cant
> the syntax right.
> 2. Join to the domain again and restart smb and winbind.
> 3. wbinfo -t, wbinfo -g, wbinfo -u shud return successfull results now.
> Let me know how it goes..

Thank you very much, I will try tomorrow.
But remember that my problem is that I cannot join to the domain from
the Windows clients, not from the Linux ones.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Users SID problem

2008-05-06 Thread shacky
2008/5/6 Linux Addict <[EMAIL PROTECTED]>:
> Its okay not to have domain's SID. This is not the reason you are not
>  able to login.

Oh, ok, thank you!

>  What is the output of

>  1.wbinfo -t
server-x:~# wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_CANT_ACCESS_DOMAIN_INFO (0xc0da)
Could not check secret

>  2.wbinfo -g
server-x:~# wbinfo -g
Error looking up domain groups

>  3.testparm
server-x:~# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[homedir]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[amministrazione]"
Unknown parameter encountered: "force create mask"
Ignoring unknown parameter "force create mask"
Unknown parameter encountered: "force directory mask"
Ignoring unknown parameter "force directory mask"
Processing section "[data]"
Unknown parameter encountered: "force create mask"
Ignoring unknown parameter "force create mask"
Processing section "[commerciale]"
Unknown parameter encountered: "force create mask"
Ignoring unknown parameter "force create mask"
Unknown parameter encountered: "force directory mask"
Ignoring unknown parameter "force directory mask"
Processing section "[rassegna]"
Unknown parameter encountered: "force create mask"
Ignoring unknown parameter "force create mask"
Unknown parameter encountered: "force directory mask"
Ignoring unknown parameter "force directory mask"
Processing section "[admin]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

>  4.net ads info
server-x:~# net ads info
Didn't find the ldap server!

This is the [global] section of my /etc/samba/smb.conf:

[global]
netbios name = server-x
workgroup = EG
server string = Server Samba %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
domain master = yes
security = user
domain logons = yes
hosts allow = 127.0.0.1 192.168.33.0/255.255.255.0 192.168.0.
192.168.3. 192.168.4. 192.168.6.
interfaces = eth0 lo
bind interfaces only = yes
encrypt passwords = yes
username map = /etc/samba/smbusers
map to guest = Bad User
add machine script = /usr/local/sbin/smb-aggiungimacchina.sh %u
os level = 99
preferred master = yes
local master = yes
wins support = yes
domain logons = yes
logon script = %U.bat
log file = /var/log/samba/%m.log
log level = 3
syslog = 0
max log size = 1
logon drive =
logon home =
logon path =

Thank you very much for your help!
Bye.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Users SID problem

2008-05-06 Thread shacky
Hi.

I realized that I have a problem with the users SID.
Thy are different between the SID of the domain.
Let's see the output of these commands:

server:/home/utenti/user# net getlocalsid
SID for domain SERVER is: S-1-5-21-1375271547-2371556575-3111006354

server:/home/utenti/user# pdbedit -Lv test
Unix username:test
NT username:
Account Flags:[U  ]
User SID: S-1-5-21-73733321-1646160496-1160744844-3004
Primary Group SID:S-1-5-21-73733321-1646160496-1160744844-513
Full Name:Test
Home Directory:
HomeDir Drive:
Logon Script: test.bat
Profile Path:
Domain:   MYDOMAIN
Account desc:
Workstations:
Munged dial:
Logon time:   0
Logoff time:  9223372036854775807 seconds since the Epoch
Kickoff time: 9223372036854775807 seconds since the Epoch
Password last set:lun, 05 mag 2008 10:44:20 CEST
Password can change:  lun, 05 mag 2008 10:44:20 CEST
Password must change: 9223372036854775807 seconds since the Epoch
Last bad password   : 0
Bad password count  : 0
Logon hours : FF

Please note that the User SID and the Primary Group SID don't contain
the SID of the domain, are completely different.
It is the same for all user.
Is it normal or is it a problem?
I cannot logon to the domain from the Windows clients.
How I can solve this problem, and how I can make the change definitive
for all new users too?

Thank you very much!
Ciao.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Logon drive

2007-11-05 Thread shacky
Hi.

In my smb.conf file I configured the value "logon drive" on "h:", but
I don't have the H: drive on no clients after the logon to the PDC.
And in the netlogon script the variable %U isn't recognised, if I wish
to connect my home directory by hand.

Where is the mistake?

Thank you very much!
Bye.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Migrating a Samba PDC

2007-10-27 Thread shacky
Hi.
I have to migrate a Samba PDC frome one server to another new server.
The two servers have the same distribution (Debian stable) and the
same Samba version (3.0.24).
I wish to make the migration completely transparent for the client,
mantaining all the users, all the groups, all the Windows/Linux groups
mapping and all other things.
What I have to do other than copying the /etc/samba and /var/lib/samba
directories?

Thank you very much for your help!
Bye.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] PDC over PPTP VPN

2007-04-23 Thread shacky

2007/4/23, Dale Schroeder <[EMAIL PROTECTED]>:


 The only thing I can think of is, do you have
invalid users = root
set in smb.conf?



No, I don't have "invalid users = root" in smb.conf.
Remember that in LAN the PDC works without any problem at all...

Thank you!
Bye. :-)
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] PDC over PPTP VPN

2007-04-22 Thread shacky

Hi.

I'm trying to add a client running Windows XP Professional SP2 to a PDC
server running Samba 3.0.13 over a VPN tunnel made with PPTP.
The VPN tunnel works without problem, and I can see the shared resources on
the PDC from the client searching the server with its hostname (I can access
to \\server).
When I try to add the client to the PDC, Windows XP ask me for the root
user, but after some seconds I get an "invalid username or password" error.
The strange thing is that the username and password are correct (I checked
them a lot of times) and the server doesn't write anything in the client's
log even if I configured the log level as 3 in the smb.conf.
The server os level is 255, and the PDC works without any problem in the
LAN.

Someone could have some ideas about how to solve this problem?
I tried and tried but I didn't managed in solving it... :-(

Thank you very much!
Bye.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba