Re: [Samba] Netbios over VPN

2012-07-08 Thread kazabe
did you have the dns service enabled?




2012/7/5 Andrew Mark andr...@aimsystems.ca:
 I am attempting to utilize BackupPC on a Fedora 14 server to backup a remote 
 client.
 As I understand, it's primary mechanism for finding clients is performing a 
 nmblookup clientname
 This works fine for computers connected to the local network.
 My issue is extending ?Samba's? search to encompass our other network - the 
 point-to-point VPNs
 Using OpenVPN, we have a number of road warriors who connect their VPN to 
 gain access to the samba server.
 Each has a unique static IP address in the 10.30.251 range and when 
 connected, I can find them but not samba
 i.e.
 # ping john_laptop
 --- john.inspirah.com ping statistics ---
 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
 rtt min/avg/max/mdev = 9.900/14.764/24.388/6.805 ms

 # nmblookup john_laptop
 querying john_laptop on 127.255.255.255
 querying john_laptop on 10.30.7.255
 name_query failed to find name john_laptop

 How to I configure Samba or whatever Linux service is necessary to query the 
 10.30.251.255 network as well

 --

 Cheers,


 Andrew Mark | Development Analyst | www.aimsystems.ca
 local: 519-837-1072 | fax: 519-837-4063 | int'l 800-465-2961
 12-350 Speedvale Ave. W. | Guelph, ON | N1H 7M7 | Canada


 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.


 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] is possible change the PDC IP address without damage the domain?

2011-03-10 Thread kazabe
Hi.

I have a virtualized PDC, and now i need asign a dedicated server to that
service.

The problem is:  the IP on the virtualized server dont use the same range of
the local network.  To add the new PDC server, we need use an IP on the same
local network, but i dont know how can affect that the existent domain.

Actual PDC IP. 10.0.0.2

Local Network : 192.168.12.0/24.  access to the domain server using the GW
192.168.12.2

now i need assign to the new PDC server the IP 192.168.12.10, but continue
using the same domain.  Is that possible?

thanks and regards.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] is possible change the PDC IP address without damage the domain?

2011-03-10 Thread kazabe
2011/3/10 John Drescher dresche...@gmail.com


 

 Yes. Just make the change. If you use a DNS server make sure you
 update the pdc records in that.

 John

I have the dns updating dinamically with the dhcp,  including the PTR
registers.

the trust relationship can be affected changing the IP? (i have stations
with windows XP and 7)

thanks and regards.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Windows7 roaming user profile can loose parameters after reboot samba server?

2010-12-07 Thread kazabe
Hi.

I have a xen virtualized samba server.  Today i was experiment a very
strange situation.  Practically all the stations are windows XP.  Some
station are vista or 7, but they are not connected to the domain yet.
I have just 1 win7 logged on the domain, and today, after restart the
samba server, the station cant load the apps correctly.

We use roaming users and use a centraliced access application shared
by samba in a public folder, and all the others clients work today
without problems;  only the win7 start with problems (apparenlty is
requesting some dll files).  If we start local session in the win7
station with the local admin user, work perfectly; but wf try to
access with the domain user, present errors.

I give to the domain users all the local permission (is a local
administrator), but the problem continue.

I dont make any change in the samba conf or any server configuration.
Just restart the samba server, because was added more ram.  The win7
station was worked correctly with the domain user before reboot the
server;  After that, is presenting problems.

Why can happen that?  win7 store some cached configuration in the
samba server?

Im very confused.

Thanks in advance.

This is my smb.conf

PDC:# cat /etc/samba/smb.conf
[global]
   netbios name = PDC
   netbios aliases = SRV
   ldap ssl = no
   passwd chat debug = yes
   name resolve order = wins bcast hosts
   idmap gid = 15000-2
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully*
.
   veto files = *.mpg
   passwd program = /usr/bin/passwd %u
   use client driver = Yes
   dns proxy = No
   printing = cups
   idmap uid = 17000-3
   logon script = logon.bat
   local master = yes
   workgroup = COMPANY
   os level = 99
   printcap name = /etc/printcap
   security = user
   add machine script = /usr/sbin/useradd -s /bin/false/ -d
/var/lib/nobody %u
   getwd cache = yes
   delete user script = /usr/sbin/userdel -r %u
   max log size = 1000
   log level = 3
   log file = /var/log/samba/log.%m
   read raw = yes
   add group script = /usr/sbin/groupadd %g
   smb ports = 139 445
   delete group script = /usr/sbin/groupdel %g
   socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
SO_SNDBUF=8192 SO_RCVBUF=8192
   add user to group script = /usr/sbin/usernod -G %g %u
   logon drive = P:
   domain master = yes
   username map = /etc/samba/smbusers
   interfaces = eth0 192.168.2.1
   encrypt passwords = yes
   passdb backend = tdbsam
   logon home = \\pdc\%U
   template shell = /bin/false
   wins support = yes
   server string = PDC Server
   enhanced browsing = yes
   unix password sync = yes
   logon path = \\pdc\profiles\%U
   add user script = /usr/sbin/useradd -m %u -g users -G users
   hide special files = Yes
   utmp = Yes
   preferred master = true
   domain logons = yes
   admin users = @sysadmin

[netlogon]
   comment = Samba Network Logon Service
   path = /home/share/netlogon
   case sensitive = no
   guest ok = yes
   locking = no
   writable = no
   public = no
   browseable = yes

[%U]
   comment = %u Home
   read only = no
   create mask = 0660
   directory mask = 0770
   browseable = no
   path = /home/%U/Archivos

[main]
   comment = main shared
   path = /opt/pdc/main
   read only = no
   force group = users
   valid users = @users
   create mask = 0660
   directory mask = 0770
   hide files = /data/templates/
   oplocks = yes

[public]
   comment = Public Dir
   path = /opt/pdc/pub
   read only = no
   force group = users
   valid users = @users
   create mask = 0666
   directory mask = 0777
   writable = yes

[profiles]
   path= /opt/pdc/profiles
   writeable   = yes
   create mask = 0700
   directory mask = 0700
   ;browseable   = no
   guest ok= no
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] strange performance some times

2010-11-24 Thread kazabe
Hi

I have a samba server (3.4.3-2 lenny version).  This server is a PDC
with roaming profiles.

was migrated from an old woody server.

Some times, all the users report me low performance when run an app
shared on a public folder.  The app is an access database.   Some
times work very fast, some times work very slow.

how can i detect the reason of the low performance?   the cpu, memory
process and swap usage is always minimal.  Never show heavy process.

This is a virtualized server (i use Xen).  The virtualization can
affect the samba performance?  the virtual server has four times more
resources than the old server.



thanks and regards.

This is my smb.conf

PDC:# cat /etc/samba/smb.conf
[global]
netbios name = PDC
netbios aliases = SRV
ldap ssl = no
passwd chat debug = yes
name resolve order = wins bcast hosts
idmap gid = 15000-2
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully*
.
veto files = *.mpg
passwd program = /usr/bin/passwd %u
use client driver = Yes
dns proxy = No
printing = cups
idmap uid = 17000-3
logon script = logon.bat
local master = yes
workgroup = COMPANY
os level = 99
printcap name = /etc/printcap
security = user
add machine script = /usr/sbin/useradd -s /bin/false/ -d 
/var/lib/nobody %u
getwd cache = yes
delete user script = /usr/sbin/userdel -r %u
max log size = 1000
log level = 3
log file = /var/log/samba/log.%m
read raw = yes
add group script = /usr/sbin/groupadd %g
smb ports = 139 445
delete group script = /usr/sbin/groupdel %g
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
SO_SNDBUF=8192 SO_RCVBUF=8192
add user to group script = /usr/sbin/usernod -G %g %u
logon drive = P:
domain master = yes
username map = /etc/samba/smbusers
interfaces = eth0 192.168.2.1
encrypt passwords = yes
passdb backend = tdbsam
logon home = \\pdc\%U
template shell = /bin/false
wins support = yes
server string = PDC Server
enhanced browsing = yes
unix password sync = yes
logon path = \\pdc\profiles\%U
add user script = /usr/sbin/useradd -m %u -g users -G users
hide special files = Yes
utmp = Yes
preferred master = true
domain logons = yes

admin users = @sysadmin



[netlogon]
comment = Samba Network Logon Service
path = /home/share/netlogon
case sensitive = no
guest ok = yes
locking = no
writable = no
public = no
browseable = yes

[%U]
comment = %u Home
read only = no
create mask = 0660
directory mask = 0770
browseable = no
path = /home/%U/Archivos

[main]
comment = main shared
path = /opt/pdc/main
read only = no
force group = users
valid users = @users
create mask = 0660
directory mask = 0770
hide files = /data/templates/
oplocks = yes



[public]
comment = Public Dir
path = /opt/pdc/pub
read only = no
force group = users
valid users = @users
create mask = 0666
directory mask = 0777
writable = yes

[profiles]
path= /opt/pdc/profiles
writeable   = yes
create mask = 0700
directory mask = 0700
;browseable   = no
guest ok= no
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] deny access to stations

2010-10-31 Thread kazabe
Hi.

I have a PDC on Lenny.

is possible deny the access from the station to the others station
over the network?, or only permit the network access to the admin
users to the stations?

thanks and regards.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] local admin rights for roaming profiles

2010-08-06 Thread kazabe
Hi.

I have a samba server designed to PDC on my network.  The roaming
profiles is enabled and work fine.  But some apps used from the samba
server share, apparently need to the user in the station have admin
privileges.  Im enabling in the station (XP or Win7) the admin
privileges to the station asigned user (DOMAIN\user) but in that case,
the roaming profile is not a complete solution, because is necesary
modify the local permission.

Any user can access on any station, and the user profile is loaded
correctly; but that admin privileges requirements affect the dalily
work, because is for an internal apps.

The another reason is to i dont wanna give local admin privileges to
all the users!  (some users are extremly dangerous with local admin
permissions).

how can i provide that admin privileges only to access the app shared
on \\SAMBASERVER\shared .

Thanks in advance.

regards
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba