samba pdc:-
workgroup = GEOMAT (your workgroup name)
security = user
password encrypted = true
domain logons = yes
domain master = yes
local master = yes
preferred master = yes
os level = 64
"os level = 64" line is explained in "man smb.conf". It will effect whether the server wins browsing elections. You can probably leave it as the default.
enable logon path=\\%N\%U\profile
is storing the profile in the user's home directory ,this is Samba's default
logon drive = H;
add machine script = = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
every time a machine , joins a domain the server needs to recognize that computers host name
[homes]
comment = Home Directories
browseable = no
writeable = yes
to enable the default home directory shares. This will share each user's home directory as \\server\username
[netlogon]
comment = Network logon services
path = /home/samba/netlogon
guest ok = yes
read only = yes
share modes = no
create the netlogon directory for Domain Logons (you need to configure Samba to act as a domain controller too.)
[profiles]
comment = users profile
path = /home/samba/profiles
guest ok = no
create mask = 0600
directory mask = 0700
=========================================================================================
# groupadd -g 201 machines
# mkdir -m 0775 /home/netlogon
mkdir /home/samba /home/samba/profiles
chmod 1757 /home/samba/profiles
smbpasswd -a root
add the samba users
Windows side:-
WinXP pro required
Samba Primary Domain Controller is ready to accept client requests.
Joining a Windows machine to Samba PDC.
1.Right Click on Mycomputer.
2.Go to Properties select the Computer Name tab.
3.Click Change.
4.Click Domain radio button, enter the Domain name like GEOMAT, then click ok.
5.At the prompt, enter the user name root and root smbpassword and then click OK.
6.Click OK twice to return to the System Properties dialog box.
7.Click OK, and then click Yes to restart the computer.
Windows xp is ready to login with samba user and make sure you should use smbpassword while user login.
NB:- Tested in Ubuntu !0.04
Tuesday, December 27, 2011
Saturday, December 17, 2011
Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Hi, I know this is an old thread, but I wanted to chime in since I am having problems with this as well.
I too am trying to run dbt5 against Postgres. Specifically I am trying to run it against Postgres 9.1beta3. After jumping through many hoops I ultimately was able to build dbt5 on my
debian environment, but when I attempt to run the benchmark with:
dbt5-run-workload -a pgsql -c 5000 -t 5000 -d 60 -u 1 -i ~/dbt5-0.1.0/egen -f 500 -w 300 -n dbt5 -p 5432 -o /tmp/results
it runs to completion but all of the dbt5 log files contain errors like:
terminate called after throwing an instance of 'pqxx::broken_connection' what(): could not connect to server: No such file or directory Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I'm lead to believe that this is an error I would receive if the Postgres db were not running, but it is. In fact, the way dbt5-run-workload works it starts the database automatically. I have also confirmed it is running by manually connecting while this benchmark is in progress (and after it has already started the database and logged the above error). Any thoughts on why I might be getting this error?
SOLN:-
View this message in context: http://postgresql.1045698.n5.nabble.com/DBT-5-Postgres-9-0-3-tp4297670p4708692.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com.
..
Its trying to connect to unix socket "/var/run/postgresql/.s.PGSQL.5432",
but your postgresql.conf file probably has:
unix_socket_directory = '/tmp'
Change it to:
unix_socket_directory = '/var/run/postgresql'
and restart PG.
-Andy
I too am trying to run dbt5 against Postgres. Specifically I am trying to run it against Postgres 9.1beta3. After jumping through many hoops I ultimately was able to build dbt5 on my
debian environment, but when I attempt to run the benchmark with:
dbt5-run-workload -a pgsql -c 5000 -t 5000 -d 60 -u 1 -i ~/dbt5-0.1.0/egen -f 500 -w 300 -n dbt5 -p 5432 -o /tmp/results
it runs to completion but all of the dbt5 log files contain errors like:
terminate called after throwing an instance of 'pqxx::broken_connection' what(): could not connect to server: No such file or directory Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I'm lead to believe that this is an error I would receive if the Postgres db were not running, but it is. In fact, the way dbt5-run-workload works it starts the database automatically. I have also confirmed it is running by manually connecting while this benchmark is in progress (and after it has already started the database and logged the above error). Any thoughts on why I might be getting this error?
SOLN:-
View this message in context: http://postgresql.1045698.n5.nabble.com/DBT-5-Postgres-9-0-3-tp4297670p4708692.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com.
..
Its trying to connect to unix socket "/var/run/postgresql/.s.PGSQL.5432",
but your postgresql.conf file probably has:
unix_socket_directory = '/tmp'
Change it to:
unix_socket_directory = '/var/run/postgresql'
and restart PG.
-Andy
Thursday, December 8, 2011
ConvertALL
play .vob files in ubuntu?
Video Player that can play .vob files?
install smplayer
download it from here:-
http://sourceforge.net/projects/smplayer/files/SMPlayer/0.6.9/smplayer-0.6.9.tar.bz2
& follow the instructions of install.txt file , which you will get after extracting the package
NB:- Tested in ubuntu 10.04
install smplayer
download it from here:-
http://sourceforge.net/projects/smplayer/files/SMPlayer/0.6.9/smplayer-0.6.9.tar.bz2
& follow the instructions of install.txt file , which you will get after extracting the package
NB:- Tested in ubuntu 10.04
Friday, December 2, 2011
Subscribe to:
Comments (Atom)

